Skip to content

Conversation

@jordan-powers
Copy link
Contributor

These tests were failing because we renamed the setting index.mapping.patterned_text.disable_templating to index.mapping.pattern_text.disable_templating. The old node would create an index using the old name, then the new node would try to load the index with the old setting and throw an error because the old name was unrecognized.

This is not an issue in production because the setting is gated behind a feature flag.

This patch adds a node feature representing the rename, then updates the rolling upgrade tests to only run if the rename is present on the old cluster as well.

Fixes #135338
Fixes #135344
Fixes #135312
Fixes #135316
Fixes #135319
Fixes #135327
Fixes #135320
Fixes #135315
Fixes #135314
Fixes #135237
Fixes #135324
Fixes #135325
Fixes #135238
Fixes #135313

@jordan-powers jordan-powers added >test Issues or PRs that are addressing/adding tests Team:StorageEngine :StorageEngine/Mapping The storage related side of mappings v9.2.0 labels Sep 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@jordan-powers jordan-powers enabled auto-merge (squash) September 25, 2025 17:23
@jordan-powers jordan-powers merged commit a8fa797 into elastic:main Sep 25, 2025
34 checks passed
@jordan-powers jordan-powers deleted the fix-rolling-upgrade-tests branch October 1, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment